﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000891 RID: 2193
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GiveUpBoxingClubChallengeCsReq : IMessage<GiveUpBoxingClubChallengeCsReq>, IMessage, IEquatable<GiveUpBoxingClubChallengeCsReq>, IDeepCloneable<GiveUpBoxingClubChallengeCsReq>, IBufferMessage
	{
		// Token: 0x17001B9D RID: 7069
		// (get) Token: 0x06006202 RID: 25090 RVA: 0x001046F1 File Offset: 0x001028F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GiveUpBoxingClubChallengeCsReq> Parser
		{
			get
			{
				return GiveUpBoxingClubChallengeCsReq._parser;
			}
		}

		// Token: 0x17001B9E RID: 7070
		// (get) Token: 0x06006203 RID: 25091 RVA: 0x001046F8 File Offset: 0x001028F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GiveUpBoxingClubChallengeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B9F RID: 7071
		// (get) Token: 0x06006204 RID: 25092 RVA: 0x0010470A File Offset: 0x0010290A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GiveUpBoxingClubChallengeCsReq.Descriptor;
			}
		}

		// Token: 0x06006205 RID: 25093 RVA: 0x00104711 File Offset: 0x00102911
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GiveUpBoxingClubChallengeCsReq()
		{
		}

		// Token: 0x06006206 RID: 25094 RVA: 0x00104719 File Offset: 0x00102919
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GiveUpBoxingClubChallengeCsReq(GiveUpBoxingClubChallengeCsReq other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this.iJBCLLKIJIJ_ = other.iJBCLLKIJIJ_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006207 RID: 25095 RVA: 0x0010474A File Offset: 0x0010294A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GiveUpBoxingClubChallengeCsReq Clone()
		{
			return new GiveUpBoxingClubChallengeCsReq(this);
		}

		// Token: 0x17001BA0 RID: 7072
		// (get) Token: 0x06006208 RID: 25096 RVA: 0x00104752 File Offset: 0x00102952
		// (set) Token: 0x06006209 RID: 25097 RVA: 0x0010475A File Offset: 0x0010295A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x17001BA1 RID: 7073
		// (get) Token: 0x0600620A RID: 25098 RVA: 0x00104763 File Offset: 0x00102963
		// (set) Token: 0x0600620B RID: 25099 RVA: 0x0010476B File Offset: 0x0010296B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IJBCLLKIJIJ
		{
			get
			{
				return this.iJBCLLKIJIJ_;
			}
			set
			{
				this.iJBCLLKIJIJ_ = value;
			}
		}

		// Token: 0x0600620C RID: 25100 RVA: 0x00104774 File Offset: 0x00102974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GiveUpBoxingClubChallengeCsReq);
		}

		// Token: 0x0600620D RID: 25101 RVA: 0x00104782 File Offset: 0x00102982
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GiveUpBoxingClubChallengeCsReq other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && this.IJBCLLKIJIJ == other.IJBCLLKIJIJ && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600620E RID: 25102 RVA: 0x001047C0 File Offset: 0x001029C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this.IJBCLLKIJIJ)
			{
				num ^= this.IJBCLLKIJIJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600620F RID: 25103 RVA: 0x00104818 File Offset: 0x00102A18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006210 RID: 25104 RVA: 0x00104820 File Offset: 0x00102A20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006211 RID: 25105 RVA: 0x0010482C File Offset: 0x00102A2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this.IJBCLLKIJIJ)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.IJBCLLKIJIJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006212 RID: 25106 RVA: 0x00104888 File Offset: 0x00102A88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this.IJBCLLKIJIJ)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006213 RID: 25107 RVA: 0x001048D4 File Offset: 0x00102AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GiveUpBoxingClubChallengeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			if (other.IJBCLLKIJIJ)
			{
				this.IJBCLLKIJIJ = other.IJBCLLKIJIJ;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006214 RID: 25108 RVA: 0x00104924 File Offset: 0x00102B24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006215 RID: 25109 RVA: 0x00104930 File Offset: 0x00102B30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.IJBCLLKIJIJ = input.ReadBool();
					}
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002586 RID: 9606
		private static readonly MessageParser<GiveUpBoxingClubChallengeCsReq> _parser = new MessageParser<GiveUpBoxingClubChallengeCsReq>(() => new GiveUpBoxingClubChallengeCsReq());

		// Token: 0x04002587 RID: 9607
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002588 RID: 9608
		public const int ChallengeIdFieldNumber = 5;

		// Token: 0x04002589 RID: 9609
		private uint challengeId_;

		// Token: 0x0400258A RID: 9610
		public const int IJBCLLKIJIJFieldNumber = 8;

		// Token: 0x0400258B RID: 9611
		private bool iJBCLLKIJIJ_;
	}
}
